﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace kairiseiMAParser
{
    public class skill_role
    {
        public string id;//#ID
        public string D2;//２Ｄ演出
        //３Ｄ演出
        public string D3_1;
        public string D3_2;
        public string D3_3;
        public string D3_4;
        //機能1
        public string type;//タイプ
        public string target;//ターゲット
        public string exceptyourself;//自身除く
        public string fire;
        public string ice;
        public string wind;
        public string light;
        public string dark;
        public string soil;
        public string thunder;
        public string water;
        public string none;
        public string[] parameter = new string[10];
        public string combo;
        public string hatelimit;//伤害上限？

        public skill_role(string[] str)
        {
            Reader reader = new Reader(str);
            id = reader.NextString();
            D2 = reader.NextString();
            //３Ｄ演出
            D3_1 = reader.NextString();
            D3_2 = reader.NextString();
            D3_3 = reader.NextString();
            D3_4 = reader.NextString();
            //機能1
            type = reader.NextString();
            target = reader.NextString();
            exceptyourself = reader.NextString();
            fire = reader.NextString();
            ice = reader.NextString();
            wind = reader.NextString();
            light = reader.NextString();
            dark = reader.NextString();
            soil = reader.NextString();
            thunder = reader.NextString();
            water = reader.NextString();
            none = reader.NextString();
            for (int i = 0; i < 10; i++)
            {
                parameter[i] = reader.NextString();
            }
                combo = reader.NextString();
            hatelimit = reader.NextString();//伤害上限？
        }
    }
}
